/*
 * Copyright (c) 2019 Nordic Semiconductor ASA
 *
 * SPDX-License-Identifier: LicenseRef-Nordic-4-Clause
 */

%pretty-scrollbar {
    overflow: overlay;

    &::-webkit-scrollbar {
        width: 16px;
    }

    &::-webkit-scrollbar-corner {
        background-color: rgba(0,0,0,0);
    }

    &::-webkit-scrollbar-thumb {
        background-color: rgba(0,0,0,0.3);
        border-radius: 10px;
        border: 5px solid transparent;
        background-clip: padding-box;
    }

    &::-webkit-scrollbar-thumb:hover {
        background-color: rgba(0,0,0,0.6);
        border-width: 4px;
    }
}

.pretty-scrollbar {
    @extend %pretty-scrollbar;
}
